package com.itheima.project.pojo;

import com.itheima.project.anno.EsField;
import com.itheima.project.anno.EsId;
import com.itheima.project.anno.EsIndex;

/**
 * 用作测试的实体类
 * 后面会删除
 * @author mrchen
 * @date 2022/3/11 10:14
 */
@EsIndex(indexName = "goods")
@Deprecated
public class GoodsInfo {
    @EsId
    private Long id;
    @EsField(type = EsField.FieldType.TEXT,analyzer = "ik_max_word")
    private String goodsName;
}
